﻿using System.Configuration;

namespace OneWorks.Common.Log.Configuration
{
    /// <summary>
    /// 日志配置
    /// </summary>
    public class LogSection : ConfigurationSection
    {
        const string PathPropertyName = "path";

        [ConfigurationProperty(PathPropertyName, DefaultValue = "c:\\log4.net", IsRequired = true)]
        public string Path
        {
            get { return (string)this[PathPropertyName]; }
            set { this[PathPropertyName] = value; }
        }
    }
}
